]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agoShellRecorder: update to use MetaCursorTracker
Giovanni Campagna [Wed, 14 Aug 2013 08:34:58 +0000 (10:34 +0200)]
ShellRecorder: update to use MetaCursorTracker

Replace more direct XFixes usage with a the appropriate abstraction
API from mutter, which is guaranteed to work in wayland too.

It doesn't yet replace pointer position tracking, although probably
it should.
Also, because now we're using Mutter API, we lose the standalone
test case.

https://bugzilla.gnome.org/show_bug.cgi?id=705911

13 years agoReplace ShellXFixesCursor with MetaCursorTracker
Giovanni Campagna [Tue, 13 Aug 2013 12:22:22 +0000 (14:22 +0200)]
Replace ShellXFixesCursor with MetaCursorTracker

Mutter now includes an object with the same purpose and functionality
as ShellXFixesCursor, so we can replace our XFixes code with it
and work under wayland too.

https://bugzilla.gnome.org/show_bug.cgi?id=705911

13 years agopopupMenu: Flip the popup menu triangle for RTL
Jasper St. Pierre [Mon, 19 Aug 2013 14:02:22 +0000 (10:02 -0400)]
popupMenu: Flip the popup menu triangle for RTL

Triangles should be flipped in RTL. This is the easiest way to do it that
doesn't rely on modifying the rotating logic, though it is a bit hacky since
the ClutterActor "scale-x" property technically considers the lower bound
to be 0. It works, though.

13 years agotheme: Tweak the Wi-Fi dialog
Jasper St. Pierre [Mon, 19 Aug 2013 13:50:19 +0000 (09:50 -0400)]
theme: Tweak the Wi-Fi dialog

13 years agomessageTray: Move the tray menu to a button
Jasper St. Pierre [Fri, 19 Apr 2013 15:12:39 +0000 (11:12 -0400)]
messageTray: Move the tray menu to a button

https://bugzilla.gnome.org/show_bug.cgi?id=699272

13 years agograbHelper: Introduce a stack of grab helpers
Jasper St. Pierre [Sat, 17 Aug 2013 00:11:36 +0000 (20:11 -0400)]
grabHelper: Introduce a stack of grab helpers

GrabHelpers use a 'captured-event' to steal events and emulate
modality or grab-like semantics. There can be issues when you try to
use multiple GrabHelpers stacked on each other. As Clutter follows
the DOM-like semantics of "first come, first serve", when a second
GrabHelper connects to 'captured-event', its callback will only be
processed *after* the first GrabHelper's callback is called.

This breaks the expectation of narrowing modality where new modals
take priority over the old ones.

Solving this globally in a cleaner manner would require a rewrite of
pushModal/GrabHelper. As a stopgap fix for now, use one shared
'captured-event' handler between all GrabHelper instances, and
delegate to the individual GrabHelpers.

https://bugzilla.gnome.org/show_bug.cgi?id=699272

13 years agoMark call notifications as critical
Emilio Pozuelo Monfort [Mon, 19 Aug 2013 11:07:04 +0000 (13:07 +0200)]
Mark call notifications as critical

So that we are notified about incoming calls even while busy.

https://bugzilla.gnome.org/show_bug.cgi?id=666221

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
13 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 19 Aug 2013 09:44:20 +0000 (11:44 +0200)]
Updated Spanish translation

13 years agoauthPrompt: support smartcard authentication
Ray Strode [Thu, 27 Jun 2013 12:54:19 +0000 (08:54 -0400)]
authPrompt: support smartcard authentication

This commit detects when a user inserts a smartcard,
and then initiates user verification using the gdm-smartcard
PAM service.

Likewise, if a user removes their smartcard, password verification
(or the user list depending on auth mode and configuration) are initiated

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agomisc: add code to use settings-daemon smartcard service
Ray Strode [Thu, 30 May 2013 14:18:51 +0000 (10:18 -0400)]
misc: add code to use settings-daemon smartcard service

gnome-settings-daemon monitors smartcard insertion and removal
events on the system and then exports a model of the current
smartcard topology over the bus using the D-Bus ObjectManager interface.

This commit adds the support code needed in gnome-shell to talk to
the gnome-settings-daemon service.

A future commit will use this code to inform the login screen
when a user inserts a smartcard (so it can react appropriately)

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agomisc: add objectManager class
Ray Strode [Thu, 30 May 2013 14:15:09 +0000 (10:15 -0400)]
misc: add objectManager class

The D-Bus ObjectManager interface is fairly recent addition to the
D-Bus specification. Its purpose is to provide a standardized way
to track objects dynamically coming and going for a service, and
to track capabilities dynamically coming and going for those objects
(by means of interfaces).

This commit adds the requisite code needed to make use of the
ObjectManager interface.

It will ultimately be needed to implement smartcard support in the
login screen.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agogdmUtil: support disabling password authentication
Ray Strode [Mon, 29 Jul 2013 18:18:30 +0000 (14:18 -0400)]
gdmUtil: support disabling password authentication

This commit skips trying password authentication if it's
disallowed, favoring fingerprint login instead.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agogdmUtil: factor out some duplicated code in beginVerification
Ray Strode [Fri, 16 Aug 2013 14:29:26 +0000 (10:29 -0400)]
gdmUtil: factor out some duplicated code in beginVerification

The duplication makes the function look a lot more complicated
than it actually is.

This commit moves the common code to a new _startService function.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agoauthPrompt: emit prompted when given a message
Ray Strode [Mon, 29 Jul 2013 18:37:10 +0000 (14:37 -0400)]
authPrompt: emit prompted when given a message

Some pam modules prompt without expecting the user to type
an answer back (e.g. "Please swipe finger").  We need to
emit prompted in this case too, so the the dialog will get shown.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agogdmUtil: pave way for fingeprint to optionally be default auth service
Ray Strode [Mon, 29 Jul 2013 18:23:45 +0000 (14:23 -0400)]
gdmUtil: pave way for fingeprint to optionally be default auth service

Currently, fingerprint authentication is always a secondary thing.
If a user wants to swipe their finger when the computer is asking
for a password, so be it.

This commit paves the way for making fingerprint auth optionally
be the main way to authenticate.  Currently there's no way to enable
this, but in a future commit will honor

enable-password-authentication=false

in gsettings.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agoutil: abstract out default auth service in code
Ray Strode [Sun, 28 Jul 2013 23:42:26 +0000 (19:42 -0400)]
util: abstract out default auth service in code

Right now, the primary way a user logs in is with
a password. They can also swipe their finger, if their
fingerprint is enrolled, but it's expected the fingerprint
auth service won't ask questions the user has to respond to
by typing. As such, we ignore questions that comes from
anything but the main auth service: gdm-password.

In the future, if a user inserts a smartcard, we'll want
to treat the gdm-smartcard service as the main auth service,
and let any questions from it get to the user.

This commit tries to prepare for that eventuality by storing
the name of the default auth service away in a _defaultService variable
before verification has begun, and then later checking incoming
queries against that service instead of checking against
string 'gdm-password' directly.

Of course, right now, _defaultService is always gdm-password.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agoauthPrompt: add support for auth without username
Ray Strode [Sun, 28 Jul 2013 21:49:50 +0000 (17:49 -0400)]
authPrompt: add support for auth without username

This commit introduces a new BeginRequestType enum which gets
passed to the 'reset' signal to specify whether
a username should be provided to the begin() method and changes
the loginDialog to comply.

Currently, the signal only ever gets emitted with

AuthPrompt.BeginRequestType.PROVIDE_USERNAME

but that will change in the future when providing smartcard
support.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agounlockDialog: only emit 'failed' on reset after failure/cancel
Ray Strode [Sun, 28 Jul 2013 20:06:04 +0000 (16:06 -0400)]
unlockDialog: only emit 'failed' on reset after failure/cancel

We currently emit "failed" any time the UserVerifier is reset,
and user verification didn't succeed prior.

A more conceptually clear time to emit "failed" would be if
the UserVerifier is reset and user verification failed prior,
and to emit "failed" if the user cancels unlock.

This commit restructures things to do that. Aside from being
more conceptually clear, it also lays the groundwork for us
to be able to reset the unlock screen without failing.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agoauthPrompt: cancel user verification if verifying when reset
Ray Strode [Mon, 29 Jul 2013 12:46:37 +0000 (08:46 -0400)]
authPrompt: cancel user verification if verifying when reset

authPrompt.reset() currently only leaves the authPrompt in a
sane state if the user isn't verifying.

This commit makes sure to cancel verification if a reset happens
while verification is in process.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agonetwork: fix iterating connections in NMConnectionSection
Giovanni Campagna [Sun, 18 Aug 2013 17:52:12 +0000 (19:52 +0200)]
network: fix iterating connections in NMConnectionSection

Must compare the length of the array, not the array itself.

https://bugzilla.gnome.org/show_bug.cgi?id=706262

13 years agoShellWindowTracker: support looking apps from GApplication IDs
Giovanni Campagna [Sun, 18 Aug 2013 16:41:22 +0000 (18:41 +0200)]
ShellWindowTracker: support looking apps from GApplication IDs

In the new application model, there is one ID shared by GApplication,
DBus and .desktop files, so we can use that for the association,
instead of fiddling with badly cased wm classes.

https://bugzilla.gnome.org/show_bug.cgi?id=706252

13 years agoShellAppSystem: handle desktop files with capital letters
Giovanni Campagna [Sun, 18 Aug 2013 16:26:37 +0000 (18:26 +0200)]
ShellAppSystem: handle desktop files with capital letters

This is needed to handle applications that are converted to
reverse dns notation, if their application ID includes capital
letters (as it is often the case for DBus names)

https://bugzilla.gnome.org/show_bug.cgi?id=706252

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 17 Aug 2013 14:54:20 +0000 (16:54 +0200)]
Updated Slovenian translation

13 years agotheme: Add a focus style for system actions in the system menu
Jasper St. Pierre [Sat, 17 Aug 2013 03:02:11 +0000 (23:02 -0400)]
theme: Add a focus style for system actions in the system menu

13 years agopopupMenu: Remove PopupMenuAlternatingMenuItem
Jasper St. Pierre [Fri, 16 Aug 2013 23:43:04 +0000 (19:43 -0400)]
popupMenu: Remove PopupMenuAlternatingMenuItem

It's now unused.

13 years agonetwork: Update the icon even if we don't have a connection
Jasper St. Pierre [Fri, 16 Aug 2013 23:32:54 +0000 (19:32 -0400)]
network: Update the icon even if we don't have a connection

If we don't have a connection at startup or we transition from
having a connection to not having a connection, we need to make
sure we hide the correct indicators.

13 years agotheme: Remove unsupported properties
Jasper St. Pierre [Fri, 16 Aug 2013 23:33:41 +0000 (19:33 -0400)]
theme: Remove unsupported properties

margins are not (yet!) supported in gnome-shell.

13 years agoRevert "background: fix asynchronous management of background loading operations"
Adel Gadllah [Thu, 15 Aug 2013 19:51:46 +0000 (21:51 +0200)]
Revert "background: fix asynchronous management of background loading operations"

This reverts commit 1020d8a0f8523a04d8336b1348388b8b242e414f.

https://bugzilla.gnome.org/show_bug.cgi?id=704646

13 years agologinDialog: fix session menu visibility
Ray Strode [Fri, 16 Aug 2013 17:26:13 +0000 (13:26 -0400)]
loginDialog: fix session menu visibility

The shouldShowSessionMenu function has a few bugs in it.
This fixes them.

https://bugzilla.gnome.org/show_bug.cgi?id=706153

13 years agostatus: Respect always-show-universal-access-status setting
Tanner Doshier [Tue, 13 Aug 2013 16:39:07 +0000 (11:39 -0500)]
status: Respect always-show-universal-access-status setting

https://bugzilla.gnome.org/show_bug.cgi?id=705733

13 years agotheme: minor user item tweaks
Ray Strode [Fri, 16 Aug 2013 12:48:35 +0000 (08:48 -0400)]
theme: minor user item tweaks

<aday> too much padding between avatar and name -
https://cloud.gnome.org/public.php?service=files&t=2a4b3383b568a7986edfcb3501bdd020
<aday> not enough vertical padding between avatar image
and "Password" -
https://cloud.gnome.org/public.php?service=files&t=16b6eaa8f607650bcd11a4d4236fe7be

13 years agomessageTray: Use the BoxPointer APIs for hiding without animating
Jasper St. Pierre [Fri, 2 Aug 2013 04:11:16 +0000 (00:11 -0400)]
messageTray: Use the BoxPointer APIs for hiding without animating

13 years agomessageTray: Remove code that happens on notification destruction
Jasper St. Pierre [Fri, 2 Aug 2013 04:09:33 +0000 (00:09 -0400)]
messageTray: Remove code that happens on notification destruction

13 years agomessageTray: Remove the stackedNotification tracking complexity
Jasper St. Pierre [Fri, 2 Aug 2013 04:18:55 +0000 (00:18 -0400)]
messageTray: Remove the stackedNotification tracking complexity

We only have one signal left to track, but since it's destroy it
doesn't matter if it's disconnected or not since it will eventually
be GC'd.

13 years agomessageTray: Don't close the tray when responding to a notification stack
Jasper St. Pierre [Fri, 2 Aug 2013 03:57:21 +0000 (23:57 -0400)]
messageTray: Don't close the tray when responding to a notification stack

This is against the designed behavior.

13 years agomessageTray: Clean up _updateState for the summary box pointer
Jasper St. Pierre [Fri, 2 Aug 2013 03:41:16 +0000 (23:41 -0400)]
messageTray: Clean up _updateState for the summary box pointer

This code still isn't great, but it's an improvement over what we
had before.

13 years agomessageTray: Clean up _updateState for notifications
Jasper St. Pierre [Fri, 2 Aug 2013 03:07:59 +0000 (23:07 -0400)]
messageTray: Clean up _updateState for notifications

_updateState has a lot of variables that sort of gunk up the
code and make it more unreadable than need be. Clean up the logic
a lot by moving those variables into the places that they actually
matter, renaming them to remove prefixes, and remove some conditions
that are always met.

13 years agomessageTray: Clean up the code that animates the notification
Jasper St. Pierre [Fri, 2 Aug 2013 02:53:21 +0000 (22:53 -0400)]
messageTray: Clean up the code that animates the notification

Right now the code chooses to animate based on whether or not the
notification was "removed", which is quite a sketchy subject. For
now, add an additional case so that we don't animate when we transition
to the lock screen.

13 years agomessageTray: Remove an extraneous show
Jasper St. Pierre [Fri, 2 Aug 2013 04:38:59 +0000 (00:38 -0400)]
messageTray: Remove an extraneous show

This means that the close button also does not have to be public.

13 years agomessageTray: Remove dead code for updating the notification stack
Jasper St. Pierre [Fri, 2 Aug 2013 04:49:15 +0000 (00:49 -0400)]
messageTray: Remove dead code for updating the notification stack

13 years agotheme: Adjust the aggregate menu
Jasper St. Pierre [Tue, 16 Jul 2013 20:26:39 +0000 (16:26 -0400)]
theme: Adjust the aggregate menu

Adjust spacing and size of elements and other to correspond better
to the mockups.

13 years agobuild: Remove -DG_DISABLE_DEPRECATED
Colin Walters [Thu, 15 Aug 2013 20:05:44 +0000 (16:05 -0400)]
build: Remove -DG_DISABLE_DEPRECATED

The new mechanism for GLib deprecations is significantly better, and
this breaks the build in real world situations.

https://bugzilla.gnome.org/show_bug.cgi?id=706089

13 years agooverviewControls: Slide dash and workspace switcher when entering and exiting overview
Tarun Kumar Joshi [Mon, 24 Jun 2013 21:40:30 +0000 (03:10 +0530)]
overviewControls: Slide dash and workspace switcher when entering and exiting overview

Adds a slide in effect to dash and workspace switcher when entering the
overview and adds a slide out effect while exiting it.

http://bugzilla.gnome.org/show_bug.cgi?id=694262

13 years agoUpdated Czech translation
Marek Černocký [Thu, 15 Aug 2013 16:11:57 +0000 (18:11 +0200)]
Updated Czech translation

13 years agotheme: adds padding to search-provider-icon
Tarun Kumar Joshi [Wed, 26 Jun 2013 12:13:46 +0000 (17:43 +0530)]
theme: adds padding to search-provider-icon

Adds 15px padding to all sides of provider icon to have padding
which seems equal to that of list-search-result-content. This aligns the
provider icon vertically with the search result content.

Padding is set to 15px as list-search-result-content has 12px padding
and the outer box (list-search-result) has 3px.

http://bugzilla.gnome.org/show_bug.cgi?id=695760

13 years agopopupMenu: changes rotation center of sub-menu's triangle
Tarun Kumar Joshi [Fri, 5 Jul 2013 09:16:24 +0000 (14:46 +0530)]
popupMenu: changes rotation center of sub-menu's triangle

When the triangle rotates (when sub-menu is expanded), it seems as if
the triangle pivots from one corner even though rotation center is set
to Clutter.Gravity.CENTER. Hence the rotation center is set nearer to
the edge than to the corner ([0.3, 0.5] instead of [0.5, 0.5]) so that
it doesn't appear odd.

Also pivot_point is used instead of rotation_center_z_gravity as it is
deprecated.

http://bugzilla.gnome.org/show_bug.cgi?id=703109

13 years agoTajik translation updated
Victor Ibragimov [Thu, 15 Aug 2013 06:56:43 +0000 (11:56 +0500)]
Tajik translation updated

13 years agoUpdated POTFILES.in
Piotr Drąg [Thu, 15 Aug 2013 02:54:33 +0000 (04:54 +0200)]
Updated POTFILES.in

13 years agodata: Remove leftover keybindings definition
Jasper St. Pierre [Thu, 15 Aug 2013 02:08:15 +0000 (22:08 -0400)]
data: Remove leftover keybindings definition

13 years agoAdd a screencast indicator for when we're recording
Jasper St. Pierre [Wed, 17 Jul 2013 19:26:06 +0000 (15:26 -0400)]
Add a screencast indicator for when we're recording

This will replace the indicator painted on the stage right now.

This unfortunately does not work for the recorder triggered by the
keybinding -- we'll simply replace the in-shell code with a keybinding
powered by gnome-settings-daemon.

13 years agocomponents: Remove the built-in recorder keybinding and component
Jasper St. Pierre [Thu, 18 Jul 2013 01:22:54 +0000 (21:22 -0400)]
components: Remove the built-in recorder keybinding and component

The keybinding is now part of gnome-settings-daemon

13 years agoscreencast: Use sessionUpdated as our method name
Jasper St. Pierre [Wed, 17 Jul 2013 19:24:20 +0000 (15:24 -0400)]
screencast: Use sessionUpdated as our method name

This is what we consistently use everywhere else.

13 years agonetwork: Add an empty state to the wifi dialog and adjust the sizing
Jasper St. Pierre [Mon, 12 Aug 2013 17:19:32 +0000 (13:19 -0400)]
network: Add an empty state to the wifi dialog and adjust the sizing

https://bugzilla.gnome.org/show_bug.cgi?id=705916

13 years agomodalDialog: The dialog layout should expand, not the buttons
Jasper St. Pierre [Mon, 12 Aug 2013 18:40:46 +0000 (14:40 -0400)]
modalDialog: The dialog layout should expand, not the buttons

https://bugzilla.gnome.org/show_bug.cgi?id=705916

13 years agoUpdated Czech translation
Marek Černocký [Wed, 14 Aug 2013 21:06:56 +0000 (23:06 +0200)]
Updated Czech translation

13 years agoUpdated translation for Afrikaans (af)
Friedel Wolff [Wed, 14 Aug 2013 13:52:47 +0000 (15:52 +0200)]
Updated translation for Afrikaans (af)

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 14 Aug 2013 12:54:26 +0000 (14:54 +0200)]
Updated Norwegian bokmål translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 14 Aug 2013 12:12:42 +0000 (14:12 +0200)]
Updated Spanish translation

13 years agoTajik translation updated
Victor Ibragimov [Wed, 14 Aug 2013 09:01:41 +0000 (14:01 +0500)]
Tajik translation updated

13 years agoUpdated POTFILES.in
Piotr Drąg [Tue, 13 Aug 2013 19:16:32 +0000 (21:16 +0200)]
Updated POTFILES.in

13 years agomessageTray: Rename the context menu to the tray menu
Jasper St. Pierre [Fri, 19 Apr 2013 16:00:44 +0000 (12:00 -0400)]
messageTray: Rename the context menu to the tray menu

https://bugzilla.gnome.org/show_bug.cgi?id=699272

13 years agomessageTray: Use a PopupMenuManager for the message tray context menu
Jasper St. Pierre [Fri, 19 Apr 2013 15:46:06 +0000 (11:46 -0400)]
messageTray: Use a PopupMenuManager for the message tray context menu

https://bugzilla.gnome.org/show_bug.cgi?id=699272

13 years agomessageTray: Move adding the menu actor to MessageTrayContextMenu
Jasper St. Pierre [Fri, 19 Apr 2013 15:43:53 +0000 (11:43 -0400)]
messageTray: Move adding the menu actor to MessageTrayContextMenu

This matches BackgroundMenu and EntryMenu.

https://bugzilla.gnome.org/show_bug.cgi?id=699272

13 years agopanel: Rewrite the app menu to use the new "sync" pattern
Jasper St. Pierre [Tue, 13 Aug 2013 11:41:44 +0000 (07:41 -0400)]
panel: Rewrite the app menu to use the new "sync" pattern

The existing app menu was a kludge of legacy code that tried to manage
a bunch of state, and had a number of issues:

 * It didn't properly manage visibility when combined with multiple
   apps and the overview.

 * It didn't properly manage reactivity when tabbing away from a busy
   app to another app.

 * It didn't properly disconnect signals when going from one app
   to nothing.

and countless others. Rewrite it to use the new "sync" code pattern,
where we centralize all state management and do transitions from that,
rather than strange and quirky control flow.

https://bugzilla.gnome.org/show_bug.cgi?id=705898

13 years agopanelMenu: Use the accessible-name property instead of a label actor
Jasper St. Pierre [Tue, 13 Aug 2013 11:56:43 +0000 (07:56 -0400)]
panelMenu: Use the accessible-name property instead of a label actor

We already have code for this in StWidget.

https://bugzilla.gnome.org/show_bug.cgi?id=705898

13 years agoScreenShield: don't allow events through the lock dialog
Giovanni Campagna [Mon, 12 Aug 2013 13:14:37 +0000 (15:14 +0200)]
ScreenShield: don't allow events through the lock dialog

Make the lock dialog group reactive, to intercept any events
before they go to the actors below.
In the future, we may restructure our chrome to have a clear
layer system, but for now it fixes a security issue in the lock
screen (you can see the contents of the windows by dragging
if the screen was locked with the overview active)

https://bugzilla.gnome.org/show_bug.cgi?id=705840

13 years agotheme: Add some padding to align icons to the user picture
Jasper St. Pierre [Mon, 12 Aug 2013 17:06:05 +0000 (13:06 -0400)]
theme: Add some padding to align icons to the user picture

13 years agotheme: Restrict the aggregate menu to 320px
Jasper St. Pierre [Mon, 1 Jul 2013 18:19:12 +0000 (14:19 -0400)]
theme: Restrict the aggregate menu to 320px

Like in the designs. This also requires that we don't put a min-width
on sliders, as 15em is smaller than 320px.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agostatus: Add new brightness slider widget
Jasper St. Pierre [Tue, 23 Apr 2013 23:26:05 +0000 (19:26 -0400)]
status: Add new brightness slider widget

This is a simple slider that shows the current brightness of the
screen, and offers a way to change it.

This is a part of the new system status design, see
https://wiki.gnome.org/GnomeShell/Design/Guidelines/SystemStatus/
for design details.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agostatus: Add new airplane mode indicator / menu
Jasper St. Pierre [Mon, 27 May 2013 21:54:50 +0000 (17:54 -0400)]
status: Add new airplane mode indicator / menu

This is a simple indicator that shows if the user is currently in
airplane mode, and if they are, offers a way to turn it off. It
will not be shown if the user is not in airplane mode.

This is a part of the new system status design, see
https://wiki.gnome.org/GnomeShell/Design/Guidelines/SystemStatus/
for design details.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopopupMenu: Remove our custom allocation code
Jasper St. Pierre [Tue, 16 Jul 2013 00:00:41 +0000 (20:00 -0400)]
popupMenu: Remove our custom allocation code

With support for column-based layout gone, simply use a box layout
and allow items to use their own layouts without any "framework".

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopanelMenu: Remove the gicon parameter from addIndicator, and make private
Jasper St. Pierre [Fri, 19 Jul 2013 10:05:47 +0000 (06:05 -0400)]
panelMenu: Remove the gicon parameter from addIndicator, and make private

There's only two uses of the parameter left, which can easily be added as a
separate line below. Since it's really a private interface meant for the
indicators, make it private as well so external users are less likely to
use it.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopower: Move the Power Off indicator to the power menu
Jasper St. Pierre [Mon, 17 Jun 2013 22:19:20 +0000 (18:19 -0400)]
power: Move the Power Off indicator to the power menu

It's only supposed to show if we have a battery, and hooking into
the power system is the easiest way of making that happen.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agonetwork: Remove superfluous intermediate section
Jasper St. Pierre [Fri, 7 Jun 2013 17:23:57 +0000 (13:23 -0400)]
network: Remove superfluous intermediate section

Now that we're guaranteed this.menu is a section, this is
excessive and unnecessary.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopanelMenu: Show/hide the indicators box based on indicator visibility
Jasper St. Pierre [Mon, 15 Jul 2013 23:46:25 +0000 (19:46 -0400)]
panelMenu: Show/hide the indicators box based on indicator visibility

This ensures that there's no empty space in the indicators box, and we don't
have to manage it manually.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopanel: Align the arrows together in the status menus
Jasper St. Pierre [Sat, 3 Aug 2013 12:30:46 +0000 (08:30 -0400)]
panel: Align the arrows together in the status menus

To align the arrows, we need to allocate panel buttons the full
height of the tray. Fix up all of the panel buttons to support this,
and align the arrows in the middle.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopanel: Move statuses to the aggregate menu
Jasper St. Pierre [Thu, 6 Jun 2013 21:27:32 +0000 (17:27 -0400)]
panel: Move statuses to the aggregate menu

Swap out the implementation of SystemIndicator with a dummy,
and build the aggregate menu. At the same time, remove the
poweroff and login screen menus, as those were fake aggregate
menus beforehand.

We lose some flexibility as we lose session-mode-based menu
layout, but as each component of the aggregate menu is supposed
to be "smart" in response to updating itself when session
state changes, I believe it's better than a declarative model.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agostatus: Port to a new SystemIndicator framework
Jasper St. Pierre [Thu, 6 Jun 2013 21:27:25 +0000 (17:27 -0400)]
status: Port to a new SystemIndicator framework

We can't silently replace the old behavior of separate status
icons into a new system. Replace SystemStatusButton with a new
SystemIndicator class which will allow for the flexibility we
need. For now, make it a subclass of Button so that it mostly
feels the same, but we'll soon be swapping it out with a dummy
implementation that the aggregate menu will use.

I think the code cleanup here is worth it.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agostatus: Put arrow icons next to the separate status indicators
Jasper St. Pierre [Thu, 6 Jun 2013 21:26:42 +0000 (17:26 -0400)]
status: Put arrow icons next to the separate status indicators

This is to indicate that it has a pulldown menu.

This is a part of the new system status design, see
https://wiki.gnome.org/GnomeShell/Design/Guidelines/SystemStatus/
for design details.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agopanel: Use an hbox to lay out the app menu contents
Jasper St. Pierre [Mon, 12 Aug 2013 12:36:38 +0000 (08:36 -0400)]
panel: Use an hbox to lay out the app menu contents

This will make it easier to add the arrow to the app menu without
having to do the allocation logic ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agosystem: Remove rogue separator in lock screen
Jasper St. Pierre [Mon, 12 Aug 2013 17:08:53 +0000 (13:08 -0400)]
system: Remove rogue separator in lock screen

Hide the actions box when none are showing.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agosystem: Use the username if the user's name is too long
Jasper St. Pierre [Mon, 12 Aug 2013 10:56:51 +0000 (06:56 -0400)]
system: Use the username if the user's name is too long

This is a part of the new system status design, see
https://wiki.gnome.org/GnomeShell/Design/Guidelines/SystemStatus/
for design details.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agosystem: Add an orientation lock action button
Jasper St. Pierre [Wed, 17 Jul 2013 06:33:09 +0000 (02:33 -0400)]
system: Add an orientation lock action button

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agosystem: Hide the Log Out / Switch User items in the lock screen
Jasper St. Pierre [Mon, 12 Aug 2013 17:15:13 +0000 (13:15 -0400)]
system: Hide the Log Out / Switch User items in the lock screen

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agosystem: Fix showing the default avatar when the user has none
Jasper St. Pierre [Mon, 12 Aug 2013 17:10:18 +0000 (13:10 -0400)]
system: Fix showing the default avatar when the user has none

grr typos

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agoTajik translation updated
Victor Ibragimov [Tue, 13 Aug 2013 05:56:13 +0000 (10:56 +0500)]
Tajik translation updated

13 years agopower: Display single digit minutes correctly
Sebastian Keller [Sun, 11 Aug 2013 17:54:22 +0000 (19:54 +0200)]
power: Display single digit minutes correctly

https://bugzilla.gnome.org/show_bug.cgi?id=705803

13 years agopopupMenu: Remove column widths
Jasper St. Pierre [Mon, 15 Jul 2013 22:58:00 +0000 (18:58 -0400)]
popupMenu: Remove column widths

This code is too complicated to keep, and the last straw came after the
fixed width menu in the aggregate menu design.

This will break some existing popup menus that rely on the fixed width,
but this will soon be replaced with the aggregate menu. We'll also soon
clean this up further by replacing PopupBaseMenuItem's custom layout code
with an StBoxLayout.

https://bugzilla.gnome.org/show_bug.cgi?id=705845

13 years agostatus/keyboard: Translate IBus IME name if possible
Daiki Ueno [Tue, 12 Mar 2013 03:06:32 +0000 (12:06 +0900)]
status/keyboard: Translate IBus IME name if possible

https://bugzilla.gnome.org/show_bug.cgi?id=695673

13 years agonetwork: Make sure not to checkConnection on the wireless section
Jasper St. Pierre [Wed, 7 Aug 2013 10:44:38 +0000 (06:44 -0400)]
network: Make sure not to checkConnection on the wireless section

As the wireless section does not contain checkConnection.

13 years agoUpdate gvc
Jasper St. Pierre [Mon, 12 Aug 2013 10:53:11 +0000 (06:53 -0400)]
Update gvc

13 years agoUpdated Irish translation
Seán de Búrca [Sun, 11 Aug 2013 18:04:20 +0000 (12:04 -0600)]
Updated Irish translation

13 years agoNotificationDaemon: fix fallout from db75734774e97f735b9d5da36ef04c7fa043b26d
Giovanni Campagna [Sun, 11 Aug 2013 16:58:46 +0000 (18:58 +0200)]
NotificationDaemon: fix fallout from db75734774e97f735b9d5da36ef04c7fa043b26d

The public API of ShellAppSystem was changed, now both the desktop
and startup wmclass must be looked up.

https://bugzilla.gnome.org/show_bug.cgi?id=705801

13 years agost-scroll-view: Unconditionally allocate scrollbars
Adel Gadllah [Sat, 10 Aug 2013 20:09:33 +0000 (22:09 +0200)]
st-scroll-view: Unconditionally allocate scrollbars

Commit cfecd063c9ca3d18cd changed the allocation logic to not allocate
scrollbars when the *_visible booleans are false. This breaks the
fade effect as well as the NEVER policy. We do not paint scrollbars
when they are not supposed to be visible, so not allocating them
and thus leaving them in a "needs allocation" state just causes problems.

I am not convinced that it solved any problem to begin with (we don't paint
them anyway).

As the previous condition has basically always been true, just do it
unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=705664

13 years agoUpdate Arabic translations
Khaled Hosny [Sun, 11 Aug 2013 11:15:32 +0000 (13:15 +0200)]
Update Arabic translations

13 years agoUpdated Irish translation
Seán de Búrca [Sun, 11 Aug 2013 09:24:15 +0000 (03:24 -0600)]
Updated Irish translation

13 years agodateMenu: add a style class for the clock label
Jonh Wendell [Wed, 7 Aug 2013 18:35:56 +0000 (15:35 -0300)]
dateMenu: add a style class for the clock label

it's useful if we need to tweak only the clock's label css.

https://bugzilla.gnome.org/show_bug.cgi?id=705634

13 years agoauthPrompt: don't muck with cancelButton in onAskQuestion
Ray Strode [Sun, 28 Jul 2013 20:15:43 +0000 (16:15 -0400)]
authPrompt: don't muck with cancelButton in onAskQuestion

onAskQuestion has this code:

    if (this.verifyingUser)
        this.cancelButton.show();
    else
        this.cancelButton.hide();

but onAskQuestion can only be called when this.verifyingUser is true.
Also, cancelButton is public, and it only ever otherwise gets hidden
from callers.

This commit drops mucking with cancelButton visibility, leaving it
entirely up to the callers to deal with.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agologinDialog: fix up cancel button visibility
Ray Strode [Mon, 29 Jul 2013 00:55:12 +0000 (20:55 -0400)]
loginDialog: fix up cancel button visibility

This commit makes sure we hide when there's nothing to cancel
to and show it when there's something to cancel to.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

13 years agoShellWindowTracker: complete WM_CLASS fix
Giovanni Campagna [Thu, 8 Aug 2013 08:40:01 +0000 (10:40 +0200)]
ShellWindowTracker: complete WM_CLASS fix

Chromium (but not google-chrome) has a StartupWMClass in the desktop
file, so we must match the instance part first to have chrome
web apps working.
Also, we must take care of apps without a wm_class or instance at
all.

https://bugzilla.gnome.org/show_bug.cgi?id=673657